import pandas as pd
data = pd.read_excel('F:\\python\\第7章\\员工档案表3.xlsx', sheet_name=0)
c = (data['性别'] == '女') & (data['部门'].isin(['财务部', '销售部']))
result = data[c]
print(result)
